package com.hjf.ditubiaozhu.utils;

public class TestTimerUtils {
	private long startTime;

	public TestTimerUtils() {
		restart();
	}

	public void restart(){
		startTime = System.currentTimeMillis();
	}


	public long getOffset() {
		return (System.currentTimeMillis() - startTime) ;
	}
	
	public String printOffset() {
		String s = "共耗时:"+(System.currentTimeMillis() - startTime) + "ms;";
		LogUtils.e(s);
		return s;
	}
}
